﻿using AutoMapper;
using Xiao.Application.Dto;
using Xiao.Application.Dto.App;
using Xiao.Code.Entities.App;
using Xiao.Code.Entities.User;
using Xiao.Code.Entities.Users;

namespace Xiao.Application
{
    public class MapperProfile : Profile
    {
        public MapperProfile()
        {
            CreateMap<ConsumerDto, Consumer>();
            CreateMap<Consumer, ConsumerDto>();
            CreateMap<FriendRecordDto, FriendRecord>();
            CreateMap<FriendRecord, FriendRecordDto>();
            CreateMap<Friends, FriendsDto>();
            CreateMap<FriendsDto, Friends>();
            CreateMap<ProgramVersion, ProgramVersionDto>();
            CreateMap<ProgramVersionDto, ProgramVersion>();

        }
    }
}
